package com.demo.com.stack_1;

public class C {
    private Mystack mystack;

    public C(Mystack mystack) {
        this.mystack = mystack;
    }

    public void popService(){
        System.out.println("pop=" + mystack.pop());
    }
}
